package com.springboot.mvc.vo;


import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 视图对象--用户
 *
 * @author yangz
 * @version latest
 * @date 2015/8/16
 */
public class UserVO {

    private String id;

    @NotNull
    private String username;

    @NotNull
    @Size(min = 3, max = 200)
    private String nickname;

    @NotNull
    private String password;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
